<?
include_once("/var/www/html/new/com.inc.php");
// exit;
$sets = $_REQUEST['sets'];
if(count($sets)){
	foreach($sets as $key=>$id){
		$upd = "update pft_product_sale_list set pids='A' where id=$id and fid=$key and aid={$_SESSION['sid']} limit 1";
		$GLOBALS['le']->query($upd);
		// echo $upd;
	}
}

echo "<script>alert('配置成功')</script>";
?>